import axios from '@/utils/request';

export function getDepartmentPositionList(params) {
    return axios.post({
        url: '/department-position/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editDepartmentPosition(params) {
    return axios.post({
        url: '/department-position/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteDepartmentPosition(params) {
    return axios.post({
        url: '/department-position/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadDepartmentPosition(params) {
    return axios.post({
        url: '/department-position/load',
        data: params
    }).then((res) => {
        return res
    })
}

